
package com.hnisi.sms.service;

import javax.jws.WebMethod;
import javax.jws.WebParam;
import javax.jws.WebResult;
import javax.jws.WebService;
import javax.jws.soap.SOAPBinding;
import org.apache.xmlbeans.XmlObject;

@WebService(name = "SmsServicePortType", targetNamespace = "http://service.sms.hnisi.com")
@SOAPBinding(use = SOAPBinding.Use.LITERAL, parameterStyle = SOAPBinding.ParameterStyle.WRAPPED)
public interface SmsServicePortType {


    @WebMethod(operationName = "receiveSmsRpt", action = "")
    @WebResult(name = "out", targetNamespace = "http://service.sms.hnisi.com")
    public XmlObject receiveSmsRpt(
        @WebParam(name = "in0", targetNamespace = "http://service.sms.hnisi.com")
        String in0);

    @WebMethod(operationName = "receiveAddressBook", action = "")
    @WebResult(name = "out", targetNamespace = "http://service.sms.hnisi.com")
    public XmlObject receiveAddressBook(
        @WebParam(name = "in0", targetNamespace = "http://service.sms.hnisi.com")
        String in0);

    @WebMethod(operationName = "sendMT", action = "")
    @WebResult(name = "out", targetNamespace = "http://service.sms.hnisi.com")
    public XmlObject sendMT(
        @WebParam(name = "in0", targetNamespace = "http://service.sms.hnisi.com")
        String in0,
        @WebParam(name = "in1", targetNamespace = "http://service.sms.hnisi.com")
        String in1,
        @WebParam(name = "in2", targetNamespace = "http://service.sms.hnisi.com")
        String in2,
        @WebParam(name = "in3", targetNamespace = "http://service.sms.hnisi.com")
        String in3,
        @WebParam(name = "in4", targetNamespace = "http://service.sms.hnisi.com")
        String in4,
        @WebParam(name = "in5", targetNamespace = "http://service.sms.hnisi.com")
        Boolean in5,
        @WebParam(name = "in6", targetNamespace = "http://service.sms.hnisi.com")
        String in6,
        @WebParam(name = "in7", targetNamespace = "http://service.sms.hnisi.com")
        XmlObject in7);

    @WebMethod(operationName = "sendMT3", action = "")
    @WebResult(name = "out", targetNamespace = "http://service.sms.hnisi.com")
    public XmlObject sendMT3(
        @WebParam(name = "in0", targetNamespace = "http://service.sms.hnisi.com")
        String in0,
        @WebParam(name = "in1", targetNamespace = "http://service.sms.hnisi.com")
        String in1,
        @WebParam(name = "in2", targetNamespace = "http://service.sms.hnisi.com")
        String in2,
        @WebParam(name = "in3", targetNamespace = "http://service.sms.hnisi.com")
        String in3,
        @WebParam(name = "in4", targetNamespace = "http://service.sms.hnisi.com")
        String in4,
        @WebParam(name = "in5", targetNamespace = "http://service.sms.hnisi.com")
        Boolean in5,
        @WebParam(name = "in6", targetNamespace = "http://service.sms.hnisi.com")
        String in6,
        @WebParam(name = "in7", targetNamespace = "http://service.sms.hnisi.com")
        XmlObject in7,
        @WebParam(name = "in8", targetNamespace = "http://service.sms.hnisi.com")
        String in8,
        @WebParam(name = "in9", targetNamespace = "http://service.sms.hnisi.com")
        String in9);
    	
    /**
	 * 发送MT短信给单个用户
     * @param serviceId 业务接口ID
     * @param servicePwd 业务接口密码
     * @param userId 短信发送者的用户标识
     * @param content 短信内容,每条短信的长度不能超过70个字符（1个中文或者英文为1个字符）
     * @param sendTime 定时发送时间,如果为空则立即发送 ,格式：2008-10-10 10:10:10
     * @param isUnit 是否以单位名义发送 
     * @param unitCode 单位代码（若不以单位名义发送填上相应单位代码,此处填入空值）
     * @param mobile 接收人的手机号
     * @param isWork 是否是工作短信
	 */

    /**
     * 发送MT短信给单个用户
     * @param in0	业务接口ID
     * @param in1	业务接口密码
     * @param in2	短信发送者的用户标识
     * @param in3	短信内容,每条短信的长度不能超过70个字符（1个中文或者英文为1个字符）
     * @param in4	定时发送时间,如果为空则立即发送 ,格式：2008-10-10 10:10:10
     * @param in5	是否以单位名义发送 
     * @param in6	单位代码（若不以单位名义发送填上相应单位代码,此处填入空值）
     * @param in7	接收人的手机号
     * @param in8	是否是工作短信
     * @return
     */
    @WebMethod(operationName = "sendMT2", action = "")
    @WebResult(name = "out", targetNamespace = "http://service.sms.hnisi.com")
    public XmlObject sendMT2(
        @WebParam(name = "in0", targetNamespace = "http://service.sms.hnisi.com")
        String in0,
        @WebParam(name = "in1", targetNamespace = "http://service.sms.hnisi.com")
        String in1,
        @WebParam(name = "in2", targetNamespace = "http://service.sms.hnisi.com")
        String in2,
        @WebParam(name = "in3", targetNamespace = "http://service.sms.hnisi.com")
        String in3,
        @WebParam(name = "in4", targetNamespace = "http://service.sms.hnisi.com")
        String in4,
        @WebParam(name = "in5", targetNamespace = "http://service.sms.hnisi.com")
        Boolean in5,
        @WebParam(name = "in6", targetNamespace = "http://service.sms.hnisi.com")
        String in6,
        @WebParam(name = "in7", targetNamespace = "http://service.sms.hnisi.com")
        String in7,
        @WebParam(name = "in8", targetNamespace = "http://service.sms.hnisi.com")
        Boolean in8);

    @WebMethod(operationName = "sendMT1", action = "")
    @WebResult(name = "out", targetNamespace = "http://service.sms.hnisi.com")
    public XmlObject sendMT1(
        @WebParam(name = "in0", targetNamespace = "http://service.sms.hnisi.com")
        String in0,
        @WebParam(name = "in1", targetNamespace = "http://service.sms.hnisi.com")
        String in1,
        @WebParam(name = "in2", targetNamespace = "http://service.sms.hnisi.com")
        String in2,
        @WebParam(name = "in3", targetNamespace = "http://service.sms.hnisi.com")
        String in3,
        @WebParam(name = "in4", targetNamespace = "http://service.sms.hnisi.com")
        String in4,
        @WebParam(name = "in5", targetNamespace = "http://service.sms.hnisi.com")
        Boolean in5,
        @WebParam(name = "in6", targetNamespace = "http://service.sms.hnisi.com")
        String in6,
        @WebParam(name = "in7", targetNamespace = "http://service.sms.hnisi.com")
        XmlObject in7);

}
